import turtle
x_storona = int(input())
y_storona = int(input())
koofic = int(input())
bst_kof = 10*2*koofic
mst_kof = 10*koofic
flag = False
if (x_storona + 2*mst_kof) > 500 or -(y_storona + 3*mst_kof) < -500:
    flag = True
if flag:
    print('Размер фигуры превышает максимальный размер поля')
else:
    turtle.pendown()
    turtle.pencolor('grey')
    turtle.fillcolor('LightSalmon')
    turtle.begin_fill()
    for a in range(0, 4):
        turtle.forward(499)
        turtle.right(90)
    turtle.end_fill()
    turtle.penup()
    turtle.goto(x_storona, -y_storona)
    turtle.right(90)
    turtle.pendown()
    turtle.pencolor('blue')
    turtle.fillcolor('blue')
    turtle.begin_fill()
    for i in range(0, 2):
        turtle.forward(bst_kof)
        turtle.left(90)
        turtle.forward(mst_kof)
        turtle.right(90)
        turtle.forward(mst_kof)
        turtle.left(90)
        turtle.forward(mst_kof)
        turtle.left(90)
    turtle.end_fill()
    turtle.exitonclick()
